package com.work.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@TableName(value = "pests_info")
@Data
public class PestsBean implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer pestsId;//编号

    @TableField("pests_name")
    private String pestsName; //虫害名字

    @TableField("pests_reproduction")
    private String pestsReproduction; //繁殖周期

    @TableField("pests_host")
    private String pestsHost; //寄主

    @TableField("pests_enemy")
    private String pestsEnemy; //天敌

    @TableField("pests_damage")
    private String pestsDamage; //主要危害

    @TableField("pests_prevention")
    private String pestsPrevention; //防止措施

    @TableField("pests_larva_pic")
    private String pestsLarvaPic; //幼虫图片
    @TableField("pests_adult_pic")
    private String pestsAdultPic;   //成虫图片


}
